import { FC, useContext } from 'react';
import { ThemeContext } from '.';
const ThemeButton: FC = () => {
  const theme = useContext(ThemeContext);
  const style = {
    color: theme.fore,
    backgroundColor: theme.background,
  };
  return <button style={style}>theme button</button>;
};

export default ThemeButton;
